package framework.states;

import org.newdawn.slick.GameContainer;
import org.newdawn.slick.Graphics;
import org.newdawn.slick.SlickException;
import org.newdawn.slick.state.StateBasedGame;

import framework.C;
import ui.Slider;

public class GameOptions extends BackableState {

	Slider s;
	
	Slider s2;
	
	String[] values = {
			"1","2","3","4"
	};
	
	String[] valuesduration = {
			"10","20","30","40", "50", "60", "70", "80", "90"
	};
	
	private String[] labels = {
		"Winning rounds",
		"Fight duration",
	};
	
	public GameOptions() {
		
	}
	
	@Override
	public void init(GameContainer gc, StateBasedGame sg)
			throws SlickException {
		s = new Slider(gc, C.Font.REGULAR_FONT, 20, 20, 30, 30);
		s.setValues(values);
		s2 = new Slider(gc, C.Font.REGULAR_FONT, 20, 60, 30, 30);
		s2.setValues(valuesduration);
	}

	@Override
	public void render(GameContainer gc, StateBasedGame sg, Graphics g)
			throws SlickException {
		s.render(gc, g);
		s2.render(gc, g);
	}

	@Override
	public int getID() {
		return super.getID();
	}
	
	

}
